package com.neusoft.ysu.populationmanagement.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;


/**
 * <p>
 * VIEW
 * </p>
 *
 * @author 作者：赵子鉴
 * @since 2024-06-18
 */
@TableName("v_imp_pop")
@Data
public class VImpPop implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String name;

    private String idnum;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private LocalDate birthday;

    private Integer genderId;

    private Long nationId;

    private Long bloodId;

    private Long eduId;

    private Long marryId;

    private Long disabilityId;

    private Long militaryId;

    private String address;
    @TableField(exist = false)
    private Long popTypeId;

    private Long persontypeId;

    private Long undercontrolId;

    private String personnum;

    private Integer isDelete;

}
